package com.itheima.edu.info.manager.controller;

import com.itheima.edu.info.manager.domain.Student;
import com.itheima.edu.info.manager.service.StudentService;

import java.util.Scanner;

public class OtherStudentController extends BaseStudentController{
    static StudentService studentService = new StudentService();
    static Scanner scanner = new Scanner(System.in);

    @Override
    public Student getStudent(String id) {
        System.out.print("请输入修改后姓名");
        String name = scanner.next();
        System.out.print("请输入修改后年龄");
        String age = scanner.next();
        System.out.print("请输入修改后生辰");
        String birth = scanner.next();
        return new Student(id, name, age, birth);
    }
}
